//虫子在运行X毫秒后产生
var enemysData = [
    { id: 0, time: 1 },
    { id: 1, time: 1 },
    { id: 2, time: 1 },
    { id: 3, time: 1 },
    { id: 4, time: 1 },
    { id: 5, time: 1 },
    { id: 6, time: 1 },
    { id: 7, time: 1 },
    { id: 8, time: 1 },
    { id: 9, time: 1 },
    { id: 10, time: 1 },
    { id: 11, time: 1 },
    { id: 12, time: 1 },
    { id: 13, time: 1 },
    { id: 14, time: 1 },
    { id: 15, time: 1 },
    { id: 16, time: 1 },
    { id: 17, time: 1 },
    { id: 18, time: 1 },
    { id: 19, time: 1 },
];
//虫子了现的坐标
var presetPoints=[
        {x:-106,y:-656,used:false,id:0},
         {x:-72,y:-658,used:false,id:1},
        {x:-33,y:-652,used:false,id:2},
        {x:-6,y:-648,used:false,id:3},
        {x:22,y:-644,used:false,id:4},
        {x:62,y:-644,used:false,id:5},
        {x:92,y:-650,used:false,id:6},
        {x:121,y:-658,used:false,id:7},
        {x:166,y:-658,used:false,id:8},
        {x:196,y:-654,used:false,id:9},
        {x:-109,y:-533,used:false,id:10},
        {x:-71,y:-522,used:false,id:11},
        {x:-35,y:-516,used:false,id:12},
        {x:-7,y:-518,used:false,id:13},
        {x:26,y:-520,used:false,id:14},
        {x:57,y:-520,used:false,id:15},
        {x:92,y:-527,used:false,id:16},
        {x:126,y:-514,used:false,id:17},
        {x:159,y:-521,used:false,id:18},
        {x:196,y:-533,used:false,id:19}
        ]
// {enemyPosition,brushPosition,}
//上牙齿 牙刷 下牙齿 虫子  四个物体的深度关系 与 css中 z-index意义相同//0为最上层,离用户最近的一层 
var depths=[

    {toothUp:1,brush:3,toothDown:2,enmey:0,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:0,id:1,direction:"down"},
     {toothUp:1,brush:3,toothDown:2,enmey:0,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:3,id:1,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:4,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:5,id:1,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:6,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:7,id:1,direction:"up"},
     {toothUp:1,brush:2,toothDown:3,enmey:0,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:9,id:1,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:10,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:11,id:1,direction:"up"},
     {toothUp:1,brush:2,toothDown:3,enmey:12,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:13,id:1,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:14,id:1,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:15,id:0,direction:"up"},
     {toothUp:1,brush:3,toothDown:2,enmey:16,id:1,direction:"down"},
    {toothUp:1,brush:3,toothDown:2,enmey:0,id:2,direction:"down"},
    {toothUp:1,brush:0,toothDown:2,enmey:0,id:3,direction:"down"},
    {toothUp:1,brush:0,toothDown:2,enmey:0,id:4,direction:"down"}
]
